<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<#include "/common/context.ftl">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
	<#if entity.id? exists>
		修改${articleTypeName!""}
		<#else>
			新增${articleTypeName!""}
	</#if>
</title>
<link type="text/css" rel="stylesheet" href="../jquery/themes/default/easyui.css"/>
<link type="text/css" rel="stylesheet" href="../jquery/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="../css/style_common.css"/>
<link type="text/css" rel="stylesheet" href="../css/supplier/style.css"/>
<script type="text/javascript" language="javascript" src="../jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" language="javascript" src="../jquery/jquery.easyui.min.js"></script>
<script type="text/javascript" language="javascript" src="../js/util.js"></script>
<script type="text/javascript" language="javascript" src="../js/tabpane.js"></script>
<script type="text/javascript" language="javascript" src="../js/json2.js"></script>
<script type="text/javascript" language="javascript" src="../js/manager/news.js"></script>
</head>
<script>
	$(function(){
		util.ready();
	});
	
</script>
<script charset="utf-8" src="../editor/kindeditor.js"></script>
<script>
        KE.show({
                id : 'editor_id'
        });
</script>
<body>
<#include "/common/manager_user_header.ftl">
<div class="box">
  <!--头部-->
  <#include "/common/page_header.ftl">
  <!--导航部分-->
  <#include "navigation.ftl">
  <!--左侧部分-->
  <#include "index_menu.ftl">
  <!--右侧部分-->
  <div class="right border_lan">
		<div class="lei_title">
		<h4>
		<#if entity.id? exists>
			修改${articleTypeName!""}
			<#else>
				新增${articleTypeName!""}
			</#if>
		</h4>
		</div>
			<div class="lei_title_box">
				<div class="class_box1"> 
				<form id="news" action="${ctx}/manager/news!save.action" method="post">
				<table>
				<input type="hidden" id ="type" name="type" value="${articleType}">
				<input type="hidden" id ="id" name="id" value="${(entity.id)!""}">
					<tr>
						<td width="80">标题：</td>
						<td><input type="text" id="title" name="title" size="20" value="${(entity.title)!""}"></td>
					</tr>
					<tr>
						<td width="80">关键字：</td>
						<td><input type="text" id="keyWord" name="keyWord" size="20" value="${(entity.keyWord)!""}"></td>
					</tr>
					<tr>
						<td>详细内容</td>
						<td><textarea id="editor_id" name="content" cols="100" rows="8" style="width:700px;height:300px;">${(entity.content)!""}</textarea></td>
					</tr>
				</table> 
				<input type="submit" value="提交" class="tj_2">&nbsp;&nbsp;<input type="button" class="tj_2" value="返回" onClick="window.history.back()">	
  					</form>
  				</div>
  			</div>
  </div>
  <#include "/common/page_footer.ftl">
</div>
</body>
</html>
